package com.b2j.language;

import com.b2j.base.Lexema;
import com.b2j.base.MainTools;
import com.b2j.base.Routine;
import com.b2j.base.Token;

public class Return extends Routine {

	@Override
	public String generate(Lexema lexema) {
		String line = "return ";
		
		line = line + MainTools.tools.processCodeUntil(lexema, Token.SEMICOLON) + ";";
		
		return line;
	}


	
}
